/* 修改container 的最大宽度为 1280 根据设计稿来走的 */
@media screen and (min-width: 1280px) {
  .container {
    width: 1280px;
  }
}
body {
  background-color: #f5f5f5;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: #666;
}
a:hover {
  text-decoration: none;
}
.container {
  background-color: #fff;
}
/* header */
header {
  padding-left: 0!important;
}
.logo {
  background-color: #429ad9;
}
.logo img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}
.logo span {
  display: block;
  height: 50px;
  line-height: 50px;
  color: #fff;
  font-size: 18px;
  text-align: center;
}
.nav {
  background-color: #eee;
  border-bottom: 1px solid #ccc;
}
.nav a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding-left: 30px;
  font-size: 16px;
}
.nav a:hover {
  background-color: #fff;
  color: #333;
}
.nav a::before {
  vertical-align: middle;
  padding-right: 7px;
}
@media screen and (max-width: 991px) {
  .nav li {
    width: 20%;
    float: left;
  }
  article {
    margin-top: 10px;
  }
}
@media screen and (max-width: 767px) {
  .nav li a {
    font-size: 14px;
    padding-left: 15px;
  }
  /* 当我们处于超小屏幕 news 第一个li 宽度为 100%  剩下的小li  各 50% */
  .news li:nth-child(1) {
    width: 100%!important;
  }
  .news li {
    width: 50%!important;
  }
  .publish .row h3 {
    font-size: 14px!important;
  }
  .publish .row p {
    font-size: 10px!important;
  }
}
.news li {
  float: left;
  width: 25%;
  height: 128px;
  padding-right: 10px;
  margin-bottom: 10px;
}
.news li:nth-child(1) {
  width: 50%;
  height: 266px;
}
.news li:nth-child(1) p {
  line-height: 41px;
  font-size: 20px;
  padding: 0 10px;
}
.news li a {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}
.news li a img {
  width: 100%;
  height: 100%;
}
.news li a p {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.5);
  font-size: 12px;
  color: #fff;
  width: 100%;
  height: 41px;
  margin-bottom: 0;
}
.publish {
  border-top: 1px solid #ccc;
}
.publish .row {
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
}
.publish .row .pic {
  margin-top: 10px;
}
.publish .row .pic img {
  width: 100%;
}
.banner img {
  width: 100%;
}
.hot {
  display: block;
  border: 1px solid #ccc;
  margin-top: 20px;
  padding: 0 20px 20px;
}
.hot span {
  border-radius: 0;
  margin-bottom: 20px;
}
.hot p {
  font-size: 12px;
}
